package ru.ifmo.rybakov.muclumon;

import javax.persistence.DiscriminatorValue;
import javax.persistence.Entity;

@Entity
@DiscriminatorValue("t")
public class TaskState extends Element {

	/**
	 * @return the task
	 */
	public Task getTask() {
		return (Task) reference;
	}

	/**
	 * @param task the task to set
	 */
	public void setTask(Task task) {
		this.reference = task;
	}
}
